package com.ruoyi.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 儿童信息对象 children
 * 
 * @author Admin
 * @date 2025-09-05
 */
public class Children extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 儿童编号 */
    @Excel(name = "儿童编号")
    private Long id;

    /** 儿童姓名 */
    @Excel(name = "儿童姓名")
    private String name;

    /** 登陆密码 */
    private String password;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String avatar;

    /** 儿童年龄 */
    @Excel(name = "儿童年龄")
    private Long age;

    /** 儿童性别(0/1) */
    @Excel(name = "儿童性别(0/1)")
    private Long gender;

    /** 儿童基本信息 */
    @Excel(name = "儿童基本信息")
    private String info;

    /** 儿童需求 */
    @Excel(name = "儿童需求")
    private String need;

    /** 儿童手机号 */
    @Excel(name = "儿童手机号")
    private String phone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }

    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }

    public void setNeed(String need) 
    {
        this.need = need;
    }

    public String getNeed() 
    {
        return need;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("password", getPassword())
            .append("avatar", getAvatar())
            .append("age", getAge())
            .append("gender", getGender())
            .append("info", getInfo())
            .append("need", getNeed())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
